<?php

namespace App\Controller;



use Hyperf\HttpServer\Contract\RequestInterface;

class AttributesController extends AbstractController
{
    /**
     * @RequestMapping(path="r", methods="get,post")
     */
    public function route(RequestInterface $request){
        return ['This is Attributes Route Test','params', $request->all()];
    }

    // ...
    public function test2(){
        return 'This is auto Test2';
    }
}